package cn.bugstack.api;

import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

/**
 * @author ssh
 * @date 2025/7/27
 * @description
 */
public interface IAiService {
    ChatResponse generate(String model,String message);
    Flux<ChatResponse> generateStream(String model, String message);
}
